import request from '@/utils/request'

export function getUser(params) {
  return request({
    params,
    url:'/user/page',
    method:'get'
  })
}

export function updateUser(data) {
  return request({
    data,
    url:'/admin/changeUserInfoByAdmin',
    method:'post'
  })
}
export function batchDeleteUser(params) {
  return request({
    params,
    url:'/user/batch',
    method:'delete'
  })
}

export function uploadCheckExcel(data){
  return request({
    data,
    url:'/user/batchAddUser',
    method:'post'
  })
}